package com.ld.zxw;


import java.io.IOException;

import com.ld.zxw.config.Config;
import com.ld.zxw.config.LuceneDataSource;
import com.ld.zxw.init.Init;

public class LdConfig{
	
	
	public Config start() throws IOException{
		Config config = new Config();
		config.setLucene_path("D:/luceneHome/core/");
		LuceneDataSource dataSource = new LuceneDataSource();
		dataSource.addDataSource(new Init(config, "test").start());
		return config;
	}
	

}
